home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_jr / rcond < prev    next >
Text File  |  1996-04-09  |  961b  |  44 lines

  1. rcond:
  2.  
  3. Syntax:    rcond( A )
  4.  
  5. Description:    
  6.  
  7.     Rcond estimates the recipricol of the condition number of the
  8.     input matrix A. rcond() uses the LAPACK routines DGECON, or
  9.     ZGECON.
  10.  
  11.     Probably the most published way to compute the condition
  12.     number of a matrix is:
  13.  
  14.     Kcond = ||A|| * ||inv(A)||
  15.  
  16.     Another method is to use the 1st and last singular values of
  17.     A:
  18.  
  19.     Kcond = sigma(1)/sigma(n)
  20.  
  21.     rcond() computes an ESTIMATE of the recipricol of the
  22.     condition number without computing all of the columns of
  23.     inv(A). For more information see the LAPACK User's Guide.
  24.  
  25.     Example:
  26.  
  27.         > A = [1,2,3;4,5,6;7,8,9]
  28.          A =
  29.                 1          2          3  
  30.                 4          5          6  
  31.                 7          8          9  
  32.         > # Get the condition number of A
  33.         > 1/rcond (A)
  34.          4.54e+17  
  35.         > A[3;3] = 0
  36.          A =
  37.                 1          2          3  
  38.                 4          5          6  
  39.                 7          8          0  
  40.         > 1/rcond (A)
  41.              51.7  
  42.  
  43. See Also  inv, det, lu
  44.